package com.ctshk.rpc.scenic.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author xuhui
 * @since 2/2/2021
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_scenic_product_channel_online_self_platform")
@ApiModel(value="ScenicProductChannelOnlineSelfPlatform对象", description="门票线上自营自定义权限")
public class ScenicProductChannelOnlineSelfPlatform extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品ID")
    private Long productId;

    @ApiModelProperty(value = "策略名称")
    private Long strategyId;

    @ApiModelProperty(value = "渠道类型")
    private Long channelId;

    @ApiModelProperty(value = "渠道名称")
    private String channelName;

    @ApiModelProperty(value = "加幅类型")
    private Integer adjustType;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "百分比")
    private Double percent;

    @ApiModelProperty(value = "是否设置限购")
    private Integer isLimit;

    @ApiModelProperty(value = "限购数量")
    private Integer limitNum;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;
}